/*
 * @Description: 优惠券数据原型
 * @Author: ziwei.ma
 * @Date: 2019-05-23 17:13:09
 * @Last Modified by: ziwei.ma
 * @Last Modified time: 2019-05-23 19:07:19
 */
export class CouponsModel {
  /**
   *
   * @param {String} couponsName 优惠券名称
   * @param {Number} couponsPayPrice 优惠券后的实际支付价格
   * @param {String} couponsID 优惠券ID
   * @param {Number} couponsState 优惠券是否选中
   */
  constructor(couponsName, couponsPayPrice, couponsID, couponsState) {
    this.couponsName = couponsName
    this.couponsPayPrice = couponsPayPrice
    this.couponsID = couponsID
    this.couponsState = couponsState === 1
  }
}
